<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/28
 * Time: 10:10
 */

namespace app\index\widget;


use app\index\controller\BaseController;

class Widget extends BaseController
{
    public function headdr()
    {
        $this->assign([
            'types' => $this->menus(),
            'searchWords' => $this->getSearchWords(),
        ]);
        return $this->fetch('widget/headdr');
    }

    public function footer()
    {
        $this->assign([
            'foot_desc'=>$this->foot_desc()
        ]);
        return $this->fetch('widget/footer');
    }
}